package ExerciseTwo;

public class 取号码 {
public static void main(String[] args) {
	
	int a[]= {8,2,4,1,7,3,6,5,9};
	int b[]= {3,0,1,3,2,5,4,6,1,7,8};
	int c[] = new int[11];
	int i;
	int j;
	for(j=0;j<b.length;j++)
	{
		i=b[j];
		c[j] = a[i];
	}
	for(i=0;i<c.length;i++)
	{
		System.out.print(c[i]+"  ");
	}
}
}
